package com.cli.spring_session_demo.common;

/**
 * @Author xiongmin
 * @Description //TODO
 * @Date 2020/3/25 14:51
 * @Version 1.0
 **/
public enum  StatusCode {
    REQUEST_SUCCESS(10000),
    ACCOUNT_OR_PASSWORD_ERROR(10001),
    NEED_LOGIN(10002),
    USER_NOT_EXIST(10003),
    ;

    private int code;

    StatusCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
